/*
 * CloudBeaver - Cloud Database Manager
 * Copyright (C) 2020-2024 DBeaver Corp and others
 *
 * Licensed under the Apache License, Version 2.0.
 * you may not use this file except in compliance with the License.
 */

.header {
  display: flex;
  align-content: center;
  width: 100%;
  gap: 4px;
  cursor: pointer;
}
.icon {
  display: flex;
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  justify-content: center;
  align-items: center;
}
.staticImage {
  height: 16px;
  display: block;
}
.name {
  font-weight: 400;
  flex-grow: 1;
}
.readonlyStatus {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid;

  &.independent {
    top: 2px;
    left: 2px;
  }
}
.dragging {
  opacity: 0.5;
}
.dndBox:before {
  position: absolute;
  z-index: 10;
  height: 100%;
  border-left: solid 2px var(--theme-primary);
}
.dndBox {
  &[data-s-rearrange='left']:before {
    content: '';
    left: 0;
  }
  &[data-s-rearrange='right']:before {
    content: '';
    right: 0;
  }
}
.description {
  composes: theme-typography--caption from global;
  color: var(--theme-on-secondary);
}
